/**
 * 
 */
package com.vanstone.imgapp.api.img;

import java.util.ArrayList;
import java.util.List;

/**
 * @author shipeng <br />
 * 
 */
public class Album extends AbstractArticle {

  private static final long serialVersionUID = -7308994939857247279L;

  private List<Image> images = new ArrayList<>();

  public Album() {
    super(ArticleType.Album);
  }

  public List<Image> getImages() {
    return images;
  }

  public void addImage(Image image) {
    this.images.add(image);
  }

  public void addImages(List<Image> images) {
    this.images.addAll(images);
  }

}
